added test for select and selectAll, ref #90