[beta] Remove unused variable in test