Added UT for bug#10309.