Added: testBuy() for testing purposes