Fixed tests not running on the server