Use copyfile instead of copy to avoid problems with macos
Add a way to reload the tests from the main command file