Turns out Travis was right, the algorithm had a flaw. Testing works! Yay!