added tests for peps api endpoint