moving the test around to create a mock directory