[BUG #8522] fix tests