test: check add_len fails with -ve lengths