Add autowired test to the trash controller.