Travis intermittent fail: use separate files for expired, valid, and created keys. Restore flush() test since it wasn't the problem