Graph and graph loader definitions and tests