Add test for propose event form & refactor