jasmine.scout.arrays union if the arrays contain objects instead of primitives, it uses their id to check for equality (from jasmine.specs)