test: Cache results, work on Windows