Add test for empty graph construction.
Add more tests for Graph.