fix file range tests

Change-Id: I7cab0b74b8189c35b806dc263b4aa8161c4a71ca