Adding tests, fixing reversed (invalid) `Range` header values, fixing #322 by not caching `CORS` headers & reprocessing the cached result before returning a `304` - handling both cases