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

instead of changing the existing test we should add another one.