adapt testcase to latest change