Update modelAPI2.groovy

fix test