adding amax and amin testing scripts