fix outdated test case