Add test for long requests
Add some tests to fix uncovered portions of code.