Added 'favorites' tests
Minor fixes to favorites functionality based on tests