updated unit tests to work in tempdir