Remove dependency on testtools.