Simplified HttpClient usage unit test with StringEntity