Adds loading of schema and tests for it, using an in-memory sqlite database.