Move server based tests to the server directory

Fix a rhel5 build break