AttachDom tests and created getter for Component/Container

- [ ] @Aintaer 
Same `model.set` usage