this method also checks modifier order.  Might be good to either rename one like this or add a new test that says `modifiersEmitInOrder()`