fix unittest after migrating device dao on new model