added test for adding favorite