model resources and test ok