Adding some new testing helpers and Frame/Mark/TimeRangeList tests.
Also fixing some broken API design and methods.