AttachDom tests and created getter for Component/Container

- [ ] @Aintaer 
This test should either be nested inside the first `setTimeout` or have a longer delay. It will enter race conditions here.