converted to assertj
 Added request body handling in TestRequest