tests used in Dr. Dobb's article