Add test for #1277
Fix typo ...
Please PEP-8
Merge pull request #1282 from benallard/patch-1

Add test for GH-1277