update test case and build config