Android Espresso not working with Multidex gives "No tests found" : <p>My Espresso tests were running until I had to support multidex.</p>

<p>My build.gradle, I have</p>

<pre><code>minSdkVersion 14
targetSdkVersion 23
multiDexEnabled = true

testInstrumentationRunner "com.android.test.runner.MultiDexTestRunner"


androidTestCompile 'com.android.support.test.espresso:espresso-core:2.2.1'
androidTestCompile 'com.android.support.test.espresso:espresso-contrib:2.2.1'
androidTestCompile 'com.android.support.test:runner:0.4.1'
androidTestCompile 'com.android.support.test:rules:0.4.1'

dexOptions {
        jumboMode true
        javaMaxHeapSize "4g"
        incremental true
    }
</code></pre>

<h2>Test1AuthenticationEspressoTest</h2>

<pre><code>@RunWith(AndroidJUnit4.class)
@SmallTest
public class Test1AuthenticationEspressoTest {
    @Rule
    public ActivityTestRule&lt;WelcomeActivity&gt; mActivityRule = new  ActivityTestRule(WelcomeActivity.class);

}
</code></pre>

<p>Here is the Error I get</p>

<blockquote>
  <p>junit.framework.AssertionFailedError: No tests found in
  com.livestrong.tracker.test.Test1AuthenticationEspressoTest</p>
</blockquote>

<p>Any help will be appreciated. Any one has espresso working with multidex ?</p>
