Clear inflections after test.

Inflections are stored as global states. They need to be cleared after the test.

\cc @senny