Addding test cases for connection and datatype module.