Tests for searching. Found no bugs!
Tests for selecting (with bug fixes).