Added 'getObserverParams' with tests
Added 'addUnit', 'removeUnit' and 'clearUnitClass' with tests