fixed errors in AllResourcesTest