add ressource controller test