Test: Fix test5 and test6

Also remove "-X POST" as it is implied with curl -d.