Fix most warnings in tests; add support for loading (non-auto) tests to phantom-drive...