Test system refactored again to avoid mirrors.
tests directory renamed to test
Small fixes to the test runner.