Add initial unittest

Test that at creating the graph, we try to render it.