Writing test for autoload