Fixing some invoices tests
Removing some non deterministic tests