Added tests in ReceiptTests for full coverage