add test case for V3 api