Add anti-cheat code and JUnits for BuyItemCommand