Similar to the InputFormatTest, some tests for invalid configurations would be good:
- Invalid query.
- Invalid connection credentials / driver class name.
- Tuple fields do not match parameters.
- Tuple field types do not match table column types.