Fix #1567 and add tests to cover getChildView taking a model

yeah, not sure I like adding the view to the model