added tests for workspace service