Task serialize/deserialize test, update other tests to create mock Tasks according to the new methods