better naming of the machine in the unittest
adding unittests for char