add unit test for PNResponse class