pattern testing cycles