cleanup space command test

[#68475822]
Cleanup spaces command tests

[#68475822]