added tests for spacestatus refresh function