Fix wrong argument for creating invoice
Fix broken tests