diff --git a/src/kundera-cassandra/cassandra-pelops/src/test/java/com/impetus/kundera/query/KunderaQueryTest.java b/src/kundera-cassandra/cassandra-pelops/src/test/java/com/impetus/kundera/query/KunderaQueryTest.java
index <HASH>..<HASH> 100644
--- a/src/kundera-cassandra/cassandra-pelops/src/test/java/com/impetus/kundera/query/KunderaQueryTest.java
+++ b/src/kundera-cassandra/cassandra-pelops/src/test/java/com/impetus/kundera/query/KunderaQueryTest.java
@@ -143,7 +143,9 @@ public class KunderaQueryTest
         }
         catch (JPQLParseException e)
         {
-            Assert.fail();
+            Assert.assertEquals(
+                "Bad query format FROM clause is mandatory for SELECT queries. For details, see: http://openjpa.apache.org/builds/1.0.4/apache-openjpa-1.0.4/docs/manual/jpa_langref.html#jpa_langref_bnf",
+                e.getMessage());
         }
         try
         {
fixed testcases for jpql expression query