test.java for graph construction / no functions calls