fixed uninitialised memory error
commented out serialization unit-tests for now