Yes, I dont think citizenship test will have any issue with RSMS visa condition, many of my friends got citizenship after their first year under RSMS visa,
and there are many people ask this similar question if you read this forum, as I said keep silence if you want to do so
Last, I would agree with Blossom79 that it is not worth to risk the residency in this situation