Sorry for not repliying earlier, I just noticed your reply.
Hmmmm .... I don't understand how the search can behave like that with the referrer test failing.
But I've updated the script to version 1.2.0, in which I've split the referrer test into three tests. In your case, I would expect the first two referrer tests to pass, and the third to fail. The third test can be disabled in the config file if desired.