tests: add param test with encoded value

closes #2143