Added serializability to store the objects.
Project update.
Added cleanup feature so that this tests always delete the generated files at the end.