Added test specs for the modalService