add request response helper
add tests