Make test example runnable out of the box

This part probably didn't get backported, thus requires this fix to actually run from scratch.