cleared unused variables, enbabled test