Adapt tests for a new libsmack API