test-lib: Print missing prerequisites in test output