Re-using the autoloading code in the tests