removing debug cruft, fixed test_public_search check