fixed the example code for middleware
fixed the example code for middleware

Also, I think maybe your tests are testing with the wrong key as well.
christian-fei/Simple-Jekyll-Search,christian-fei/Simple-Jekyll-Search,christian-fei/Simple-Jekyll-Search