Add union input test (issue #192)