Created test to check search form is returning a JSON header