Test case for #1129
Removed useless try/except
Merge pull request #1343 from linovia/hotfix/1129

Fix for #1129