add corresponding test for new select() functionality