[test] Added a test for the autolimit parameter