Added unit test for selector_mod