Fixes broken invoice extension tests