Tests for pay_controler and integration for success payment