Tests

* Cleans up test suite - no crashing tests (plenty of failing tests!)
* Tests some bits of ground truth data - EU only, no US; doesn't test for 100% accuracy
* a few crashfixes.