Add tests for App.Collection
Fix _renderOnce pattern bug