tests: adding tests for cycle_basis_matrix for graphs with keys and data.

--HG--
extra : amend_source : 866177d7c67f829d992279ee1dd474772a452bb0