Add test for persisting job db meta