tests modals