Add test for update to AAA algorithm that removes nodes from the stack of open elements when they are not being recreated.