Create test_frequency.cpp