added tests for addfriend and removefriend