Use spyOn instead of overriding method.
Merge branch 'master' of github.com:stockholmuniversity/hermes into tests
Removed history moddifications.
Merge pull request #95 from iceglow/tests

Use spyOn instead of overriding method.