Adds tests for grapher and exporter as well.
Write a nice error message.