ticket:6 slightly fix expected throwed exceptions in widget