Fix test failure - BuildActions do not work well as Groovy inner classes.