Tests for searching for an object in a known environment