Chapter 5 Example2: added service mocking