add test for readManager::attachRating