adapted DataManager tests