Added test to ResourceContentAsString