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

@petebacondarwin : Do you think we should also delete the `originalValue`s ?