Updated search test to reflect new return messages. Added comment to code.