test(qanda): added test for modal function
test(qanda): added test for modal function