refactor copy server tests to test/server directory