fixed csv headers and extended test case for reading ranges