added tests, friends page