I guess you can extract the test/file dir creation into a helper method. Something like `create-test-project`.