test($anchorScroll): fix a test and cleanup dead code

I added this in order to have access to th spies for easy resetting (see function [resetAllSpies()][1]).
We don't need it right now, but it might be needed in the future and I think it is better to be consistent.

[1]: https://github.com/petebacondarwin/angular.js/pull/7/files#diff-0e5b96fd10770dad53dc57702a11457fR138