Make integrity tests compatible with libcharon.