Simplify InputGraphTest.