Added tests for illegal byte format lists.
MIME type parameters are now specifically tested (and correct - serialization was stupidly broken).