fix autoloader and standards errors in tests