In #34 capability for union types and annotation types was added. Cover these cases in integration tests as well