Removed unused variable in tests [skip ci]