fix resources tests