Fix mapper generator incompatibility with ScalaTest 2.x