- added appending and removing of views
- added .isInDocument()
- added and refactored tests