bug fix in testFMM

This PR solves the testFMM item of issue #742