TESTS: merged moold tests into serialization tests and added test re issue #498