adding test for purchases
spec typo