remove unused variables from tests