Tests and more tests
Merge branch 'shard-prototype' of github.com:primo/rso-sql into shard-prototype