Add tracking ID validation

This makes the tests pass, and should also nudge the travis-ci loop for
an initial test.