fix(database): fix functional test check for output