Added tests for the |json filter.
Merge pull request #2 from fusionbox/filter_tests