Added test for getPORObjectFromRepo