Some tests for public_id/pay setup (bug 834344)