Add perform_delete macros & more info on error

I added perform_delete macros for testing REST HTTP API. And also added {expected_value, Var} to make error reports more readable.