Unit test for server creation.