Add friending functionality and friending tests