Added a test to ensure that params inside an action are properly encoded
in UTF-8. This fixes #210 if all tests pass.