Fixing test on the resource