Added union utility function.
Wrote test for Objects helpers.