test for bad format