Test serialization raises expected errors
skip serialize test where output data is expected to look different.
Whitespace
Make the serialize method return a list of errors as well as the result to avoid double checking
Use del rather than assigning an empty list