added test cases for user friends view and added failing test for invalid url