added tests for base connection