Added tests.
Added sql connector.