first testPurchase & purchase functionality