compille clean unittest

compile clean, but not yet working test.