fix bug: tests do not fail on notices and warnings
Merge pull request #2 from OlegLMP/patch-1

fix bug: tests do not fail on notices and warnings