fix caption length tests