Fix test to be compatible with the resource hash change