tests for server creation