Added business tests for generating graphs.