Fix the MSpace function, which needed to accept the INT as intput, not string

 Add test to verify output.