Add tests for the purchase sessions