add an option to disable the warnings on tests that have no assertions