Added test case for bug#9989.
Merge branch 'master' of git.otrs.com:otrs/otrs
Added test case for bug#9989.