added testing tools to generate receipts, zap database