Replaced deprected fail_unless with new ck_assert in tests