Main class covered with unit tests