Integrate sql tests on rspec test suite