Regression test for #744
Removed duplicate tests
Regression test for #743
Regression test for #741