Add a test case for jQuery with mixed-case attributes.

Closes #340.