add a 'bad data' test per issue #6 on github