Added basic SQL testing.