test warning messages