cleanup simple-test, simplegraph, add empty() method