Silence warnings and errors when running tests that intentionally produce errors

Review at https://rbcommons.com/s/OpenH264/r/724/.