fix the test_limit tests