cleaning up and fixing VM image Serialization test