fix tests, delete swfobject template