enhancement for junit tests