remove unused variables in tests
opt imports