Refactyor payment tests and add some payment tests that require ruby plugin control plugin