Added more graph function tests