Change an absolute value function in a test from floating to integer to
match argument type.