add unit tests for post connector