Fixed path in test to go to the correct method in the resource