Allow moving tests into IE files

Allow adding download tests right in the IE file.
This will cut down on merge conflicts and make it more likely that new IE authors will add tests right away.
Allow _TESTS attribute for IEs with multiple tests

This also improves the numbering of duplicate tests
Use str every time