renamed engine_mocker to engine and corresponding references
renamed back to engine_mocker to avoid conflict in name
renamed tweepy to tweepy_mocker and modified references
added custom exception code to mock engine
added exception handling