diff --git a/src/test/java/com/github/greengerong/PrerenderConfigTest.java b/src/test/java/com/github/greengerong/PrerenderConfigTest.java
index <HASH>..<HASH> 100644
--- a/src/test/java/com/github/greengerong/PrerenderConfigTest.java
+++ b/src/test/java/com/github/greengerong/PrerenderConfigTest.java
@@ -1,12 +1,17 @@
 package com.github.greengerong;
 
+import org.apache.http.impl.client.CloseableHttpClient;
 import org.junit.Test;
 
 import java.util.HashMap;
 import java.util.Map;
 
+import static org.hamcrest.core.Is.is;
+import static org.hamcrest.core.IsNull.notNullValue;
+import static org.junit.Assert.assertThat;
+
 public class PrerenderConfigTest {
-    @Test(expected = NumberFormatException.class)
+    @Test(expected = Exception.class)
     public void should_throw_exception_if_invalid_timeout_value_specified() throws Exception {
         //given
         Map<String, String> configuration = new HashMap<String, String>();
@@ -23,6 +28,8 @@ public class PrerenderConfigTest {
         configuration.put("socketTimeout", "1000");
         PrerenderConfig config = new PrerenderConfig(configuration);
         //when
-        config.getHttpClient();
+        final CloseableHttpClient httpClient = config.getHttpClient();
+
+        assertThat(httpClient, is(notNullValue()));
     }
 }
[Tech] fix test, make the test to clean