fix backend testcases