Added unit tests for cmake-unit.