runtime: Refactor to support multiple graphs

Missing testcases for actually using multiple graphs
References #8
tests: Skip some impossible checks when in debug mode