added project compilation instead on graph only, added tests