Add sql adapter tests

Currently there are only a view, yet. We should wait for
creating more until we merged diaspora/vines#13