[swfinterp] Extend tests and fix parsing