tests: fix segmentation fault when running in DEBUG level
tests: fix segmentation fault when running in DEBUG level

skydive-project/skydive,skydive-project/skydive,safchain/skydive,lebauce/skydive,skydive-project/skydive,safchain/skydive,skydive-project/skydive,safchain/skydive,lebauce/skydive,skydive-project/skydive,lebauce/skydive,skydive-project/skydive,safchain/skydive,safchain/skydive,safchain/skydive,lebauce/skydive,lebauce/skydive,lebauce/skydive,safchain/skydive,lebauce/skydive,lebauce/skydive,safchain/skydive,skydive-project/skydive