Added test for scale_freq_select and fixed it until it passed