Additional tests from feature/tracks_activation compatible with the older code

These were new tests written of older code, as opposed to the tests written for new code in tracks_activation.

There are a few added constants and exceptions.  Otherwise, this is entirely additional tests.
This was a patch to some tests that were failing here but not downstream.  I've instead removed the problematic tests