Example use of mock library