moose-based test::class replacement