change order of items in acc
update tests
add test for get-next-node-and-colors