Better assertion messages for dom.empty and dom.notEmpty