Enable Modernizer for test classes

Fixes #8.