Fixed the cycle test