no-serialisation for faster unit-tests
allow global skip-serialization for tests
main_method
skipping serialisation by default in tests
slight refactoring