Tests was added. Some interface bags was fixed