Example usage of the python mock library