Review implementation of Datastore (pass by reference, pointer storage, #include paths used, ...). The test crashes sometimes (randomly on macOS and Windows system, with SIGSEV signal on macOS). This may be a bug related to memory management.