[mgraph] Added test for removeTriple.