tests: update error messages

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