Demo/unit-test for libcerf functions