created test for POST API for friendship