Idiomatic conversion to boolean
Fix bias towards the first generator in Frequency Generator
Fix coding style
Explain assertTrue failure with message