Added control over testing serialization.