ResourceTest fixed