Updated the test data writer to use the latest version of the writer

I also fixed the generation of broken databases.

Note that these new databases are a little different than the old ones and may
break existing tests. In particular, any database with IPv6 aliasing now has
aliases for the TEREDO network in addition to the 2002:: and ::ffff: aliases.