Added more sql adapter tests