Reformatted tests for ease of reading.
Minor: use a constant where it is known.
Added search().