Add regression tests for obsolete issues

 #KT-2592 Obsolete
 #KT-2768 Obsolete