Graph module with tests added.