few more tests for graph lib; mlton -profile count as a test coverage tool

MLton's profiling facility can be easily used as a rudimentary but
still quite usable test coverage tool, as described here
http://mlton.org/ProfilingCounts

Simply compile and run your tests with `-profile count` and look for
functions and branches with zero ticks. Write tests, and repeat.