CMS-2065 Update SpaceResourceTest to use json assertion

SpaceResourceTest now extends AbstractResourceTest and uses
json assertion. Also tests were added for list and details methods.