Committing cleanups
Added mock to patch.py