First version using Python 3.3, MagicMocks and HTTPretty