can be improved ... 
probably 

```
assert_less(abs(fourier_power - signal_power), 0.5) 
```

would be more appropriate