Added test for server creation code.