Added spaces test for add, rename and delete functionality.
Added renaming functionality (for spaces) to frontend. Deleting of spaces to be done.