Added a complete block generation cycle test