Rename frequency.js to tests/frequency.js