Fixed min/max datatypes in testreverse program.