Improve test examples
Fix new minitest incompatibility