Added a test case for Frequency