added test for PMIGraph class