fix more deprecated staticExpects calls