Modify add recipe to favorite test to test if branch