added loadGraph method so we can test against a populated database