Python 3.2 compatibility

mock is in unittest only from Python 3.3