Rename unit to more actual class.
Del unused functions.
Rename tests to more clear names.