testlib: support TESTLIB_TEST_TAP_ONLY for sanity