updated abs-diff test