Fix parse PUT request
add removed test