adds test for calling through spies with jasmine