we should test that it is only writing the serializeable parameters to the file.