ensure Resources exist, fixing bug when pitest runs early in sonar