add tests for request headers and data
add tests for prepared request