Move test configuration out of beforeTests but keep polling enabled