Add tests for PNConnection