[refactoring] (Amber, Danie) fixed failing controller tests for resource.