def METHOD_NAME(check_singlefile_content_with_store, check_singlefile_content):
    """Test writing and reloading a `SinglefileData` instance."""
    content_original = 'some text ABCDE'
    with tempfile.NamedTemporaryFile(mode='w+') as handle:
        filepath = handle.name
        basename = os.path.basename(filepath)
        handle.write(content_original)
        handle.flush()
        node = SinglefileData(file=filepath)
    check_singlefile_content_with_store(
        node=node,
        content_reference=content_original,
        filename=basename,
    )
    node_loaded = load_node(node.uuid)
    assert isinstance(node_loaded, SinglefileData)
    check_singlefile_content(
        node=node,
        content_reference=content_original,
        filename=basename,
    )
    check_singlefile_content(
        node=node_loaded,
        content_reference=content_original,
        filename=basename,
    )