Fix character encoding test case.

This fixes a test case failure that seems to be caused by a [recent change to Express](https://github.com/strongloop/express/commit/f14e39d4515c81c1e5c980b7ce31566eeeb84734).