Reference tests no longer need a flat hierarchy.
Renamed test classes to be consistent. Cleaned up a bit.
Merge pull request #249 from ygra/ref-test-order

Reordered reference tests a bit