Add basic attack algorithm and scanRing tests