test: set_len fails if the length is too big