- temp_file test and refactor
- add a couple of future tests