fixing the tests running on server