Unit test  for  Issue #3068:

Unit test cases were not added during the fix.