Fix unused variable in test.