test @Resource