refactor tests autoload