add test for #181
add test for #181

The reason why #181 is not expanded is not the if statements, but the
complex expressions in arguments. See also t/optimize/040.

jsx/JSX,jsx/JSX,dj31416/JSX,jsx/JSX,dj31416/JSX,dj31416/JSX,dj31416/JSX,jsx/JSX,jsx/JSX,dj31416/JSX