Monkeypatching and mocking can be somewhat confusing in python. There is a lack of clear documentation on the topic. The tests provided should give a complete view of what can and cannot be done.