Update intermittency_test.py