test tag order preservation