A Parametric Bootstrap Test for Cycles