adding regression test in master for #8631
Merge pull request #8963 from asanghi/regress_8631

adding regression test in master for #8631