tests: test --define in engines

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