A Spy module from Jasmine 2.0, easy mock for test case