test(modal): Add unit test for modal view