Functional tests for resources_controller.