added test for favorite