Add test for #1149
Enable disabled test
Merge pull request #1231 from flaviut/test1149

Add test for #1149