provide basic tests for cerf api.