Import from gopkg.in/tomb.v1 from tests.