add BeforeAfterTestFeature to v2

closes #51