changed unit test to create working directories