All the tests for the sql stuff works.