SFM: Fix test cases
Merge pull request #72 from Waldteufel/fix-sfm-tests

SFM: Fix test cases