changed the unit tests to use a temporary directory