Update tests for the changed Python dependencies