Added missing schema tables
Added several test for sql adapter