Unit tests:

- using os.path
- removed temporary file