[#6585] test for "no element by the name" error