add c snippets for cmocka unit test template file