Fix lint errors.
Relax test case to not depend on enumeration order.

Tamarin has a different enumeration order between release / debug strangely enough.
Add FrameCounter to test harness.