diff --git a/src/test/java/teetime/framework/AnalysisTest.java b/src/test/java/teetime/framework/AnalysisTest.java
index 5a5966374f1bedca9425e623ea82ef03efca7671..5561f8094ff93ecdea16f784d28152d60bb14e04 100644
--- a/src/test/java/teetime/framework/AnalysisTest.java
+++ b/src/test/java/teetime/framework/AnalysisTest.java
@@ -24,7 +24,9 @@ import static org.junit.Assert.assertThat;
 import static org.junit.Assert.assertTrue;
 
 import org.junit.Before;
+import org.junit.Rule;
 import org.junit.Test;
+import org.junit.rules.ExpectedException;
 
 import teetime.stage.InitialElementProducer;
 import teetime.stage.basic.Sink;
@@ -121,4 +123,14 @@ public class AnalysisTest {
 			}
 		}
 	}
+
+	@Rule
+	public ExpectedException thrown = ExpectedException.none();
+
+	@Test
+	public void testInstantiatePipesIncorrectConfiguration() {
+		thrown.expect(IllegalStateException.class);
+		thrown.expectMessage("Crossing threads");
+	}
+
 }