Added properly mocking and stubbing tests for Operator \o/