Make display tests more robust; add esc.swf as a test case