Fix i18n tests

We need to use something like https://github.com/spicyj/jsx-i18n to make this not compile into a React.createElement call, but we're just testing the logic here so I'm not going to use JSX.

Test Plan: npm test

Auditors: joel