Adds some tests for union.