adjusted test for current frequency. fixes #596