!tes #2971 Make TestKit.remaining throw AssertionError outside of within
Merge pull request #2005 from drexin/wip-2971-remaining-outside-within-drexin

!tes #2971 Make TestKit.remaining throw AssertionError outside of within