#52 added some meaningful tests for m.graph.js