Mock invoice generation in charging tests