Add text-keep-upright tests