Refactor input selection testing and error reporting logic
Add logic and tests for edit- and delete- type in collection form response
Add logic and tests collection edit form close response