This commit moves test helpers to their on file, while also adding helper to create an invoice with a valid payment request.