fixed regression in ResourceStoreTest