Added unit test files and updated cmakelists.txt file to build test binary.