[test] Adding tests for creating servers.