Use native autoloader in tests
Reformat. Fix pipe. Add more tests