Issue #3056877 by alexpott, Lendude: Remove usage of TestBase static functions because they are deprecated