add test
fix cmake files