a javascript library for creating test stubs,  mocks etc