fixed testing difference using absolute values.