Optional .test attribute added to formats.
Escaping '*'.
client-side tests added.