add swf test.