tests: unused variables removed