Fixed indenting and added better search testing.