Fixed unit test for server create