changed test_1 to check frequency.