Got rid of unused variables in tests