Fix process test command gets expanded too soon