Add jsdocs to composite-view
Add tests for composite view