Adds three failing tests exhibiting collect/filter halt bug.

Also adds three passing tests exhibiting situations that are not affected
by the bug.