Test of the range calculator