Fixing translate params function.
Updating autotest.