style: use C99 designated initializers instead of memset() when possible
check: use `ck_assert_ptr_eq` instead of `ck_assert_int_eq`.