Simple example to demonstrate the utility of unit tests and mocking