Adding coverage to exceptions in data tests

Added some full coverage to the data tests, I'll fix up the others and do another pull request for the others later when i've got some time