fix autoload tests

This test was missing some autoload features so I added more coverage.