Added test to check if the payment is still there after session removal

The test fails because of the cascade on session deletion. Hence,
expiring a session will bring down the payment record as well.