added tests for server commands