Bugfix in model tests for persistent data.