test also frequency content of resampling, seems to work fine in my tests