fix import error and unittest brokenness

this gets `./pants tests/python/twitter/pants:all` passing
again