Added unit test for multiselect mode