[cleanup] Avoid unused variable warning in test