Added tests. bugid:112692