fixing tests for modals