Use selected? in tests