api: expand test cases