added sinon spies and stubs ... in jasmine tests (Qu tests TBD)