Added unit test for union