As the buyer says it does not work, when they open a dispute, you will have 3 days to resolve it (refund).  If you fail to resolve it yourself, ebay will refund and seek funds from your nominated account.  Unfortunately there is no way you can prove the item was working when received by the buyer.