diff --git a/simulator/src/test/java/com/hazelcast/simulator/coordinator/CoordinatorCliTest.java b/simulator/src/test/java/com/hazelcast/simulator/coordinator/CoordinatorCliTest.java
index <HASH>..<HASH> 100644
--- a/simulator/src/test/java/com/hazelcast/simulator/coordinator/CoordinatorCliTest.java
+++ b/simulator/src/test/java/com/hazelcast/simulator/coordinator/CoordinatorCliTest.java
@@ -100,6 +100,16 @@ public class CoordinatorCliTest {
         assertEquals(CoordinatorCli.DEFAULT_DURATION_SECONDS, testSuite.getDurationSeconds());
     }
 
+    @Test(expected = CommandLineExitException.class)
+    public void testNoRemotePort() {
+        File simulatorProperties = new File(getUserDir(), "simulator.properties").getAbsoluteFile();
+        writeText("COORDINATOR_PORT=0",simulatorProperties);
+
+        args.add("--remote");
+
+        createCoordinatorCli();
+    }
+
     @Test
     public void testInit_duration() {
         args.add("--duration");
Added test for coordinator port not being available