add  a couple tests on bad data