run gm tests first, then im tests

fix