Fix underscore@1.6 dependent test
Adds onAttach triggerMethod.