tests: add param test with encoded value

closes #2143
Include ETag in HEAD requests

backport of commit 3c7310ebcbee1d65f47e6c6115ade2fa4cbd5b59