tests: update other tests related the error message on new

Signed-off-by: Jean Privat <jean@pryen.org>