Add test of modal