Added tests and changed render graph

Changed render graph to make it easier for testing and added canvas and
table tests