Added another test case for backtracking in our loops