added unit test for SpacesAction