fix up blackbox tests