Improve test for modals controllers