Add fix for testing without server running.