Wrote test for a JSON search class