Added search constructor test