fix test faillure
when websocket_test is run before routes_test