denies_json simplifies your test

Please ignore my first pull request. I fixed typo in the commit message.