Added more tests for various selector related stuff.