some examples of unit test and mocks