utils and tests for supersede