test_scan_limit_scanfilter updated to test limit behaviour