test cases scanner positions