Let controller listen to collection errors
Move controller tests to shared
Add missing tests
Update tests for standalone / raw view