Refactor tests to use tape.