Add frequency coefficients initialization· Add more tests for arrays