Apply cross-group on junit