Created testChangeUnits test case and added class variables