fix bug: tests do not fail on notices and warnings