Spec tests for type inference for enum literal (IDE-1528)