test cases below 1000 are executed