added test for modal popup