Fixes to the trending model constructor and one additional test