add assert to search reason
Merge pull request #6 from umegaya/umegaya/fix/test2

add assert to search reason hmm... suddenly error not come out. but temporary I will add these check.