Adapt tests to changed certificate generation (broken in bc4f61c3)