Fix core model tests when running with clean maven repo