Fix arithmetics bug introduced in previous commit
Renamed test_reader to test_read