Add @Autowired test.