added resource mapping validation tests