Add PHPUnit test for class Server