unit test fix for issue #3088
Merge pull request #3202 from serkan-ozal/fix/3.x/issue-3088

unit test fix for issue #3088