tests: remove remaining old-style attributes declarations

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