Add jasmine test for creation of visibility modal.