selector and selector_test added