added cmake file for unit tests.