unit tests for translate params middleware