Added test cases for the *until methods with Iterable<Resource>