fixed compile errors in server
common test specification and a basic test