Adding test for named resource