Improved testing algorithm.