Refactor collection nodelist tests