factor out test goals into separate mojos