a cmocka test envrionment