add test case for new interface