add decode for path params
add test spec & update dep