tests for altr-for
graph demo