Fixed getServerState and killServer
Added test for each command