improvements to test suite to allow it to run from a clean repository