Re-order test suite, so that fast tests are run first, and tests that are slow and don't break very often are last.
Remove all calls to deprecated ProjectRel constructors. Tighten up some fields to final/immutable.