finished union unit test