add server test

Add a small test to check that a server can be registered