Is this test correct ? Because your TestEntity class has property which is annotated with SearchId