Some examples on how to use mocks & stubs in SinonJS