added serializr support for junit after/before