Add test for issue 726
Added test case for GitHub issue ldc-developers/ldc#662.
Added test case for GitHub issue ldc-developers/ldc#739.