Refactor collection nodelist tests

Need this for karma integration
use single quotes