Upd legend test