test-framework -t switch support

Requires test-framework 0.8.0.3
(Thanks to Bryan O'Sullivan for merging the changes making this
possible!)