Adding coverage to exceptions in data tests