test: should swap nodes to the right start/end only internally
cleanup