How to use openuntil: test code.