add missing changes from upstream to BaseTest.php

Signed-off-by: Adam Rector <a.rector@kaspien.com>