added the unit tests for changing units in the main directory