completed testing , but if cipher count >3 in generator,then testing  fails