[AS] refactor update resource controller test