Using built-in MagicMock