ENH: Allow custom frequencies. Closes #4541.
Merge pull request #6473 from jseabold/allow-freq-test-utils

ENH: Allow custom frequencies