Fix incorrectly named tests

Tests said `application/json` instead of `text/plain` due to copy and paste error.