Payment tests and some refactoring

  Some documentation for PS::Response