Added test for #31: swing does not work