add test for select(null)