Fixed wrong test in #645
Merge pull request #654 from piccagliani/1.7

Fixed wrong test in #645