handle request parsing failures
add request tests