HEMERA-3458: Generate before/after according to test name/method