rewrite tests with tape