Adding Unit testing with check and ctest