implemented union
added unit test for union
fixed unit test for concat