failing select and select all test

The stream doesn't end. It does end when either one of the select lines is commented out.