Add class-based-testing fixtures and decorators

This should ease testing on legacy class-based test suites that
don't want to switch to function-style test