added some test code for load graphs