We don't have any tests for the schema persistence and loading functionality currently. The lack of testing in that area has resulted in some regressions in that area recently, which we only discovered in manual testing.
To remedy this, it would be great to add a second phase to the tests that stops & re-starts the restbase instance and then verifies functionality, perhaps by re-running tests from the first phase.