Fix PurchaseHistoryLifeCycleTest