fixed range requests, tests improved
Merge pull request #296 from Ragazzo/response-fix-tests-added

fixed range requests, tests improved