print WARNINGs during test + minor fix to NBAIE