add text constrains test