Add cache option for prefetch.
Add tests for options parser.