Test extractTriple.