test cases for custom connector