update selection test with null selection being invalid