Test Resource and ResourcesController