added documentation to show how to use mocks