Add a test for selectAll