attachDom: refactored tests to implement jasmine fixture (affix)

- [ ] @Aintaer 
Why spy on `trigger`?