Added GTEST, CMakeLists and fake sort to test.
Fixed the messed up CMakeLists
Fixed more CMakeLists bugs.