fixes deprecated tests