Test unit.
Removed unnneded variables.