added a few more tests to show how it works
added mock example