title: JUnit test cases fails with java.lang.NoClassDefFoundError after gradle update
body: <p>After updating the Gradle from 2.2.3 to 2.3.3 in android studio, all the JUnit test cases failed with the error,</p>
  
  <pre><code>java.lang.NoClassDefFoundError: android/content/Context
  </code></pre>
  
  <p>on every class initialization steps. No issues while running the application.
  Can anyone please help me to solve the issue.</p>
  
  <pre><code>dependencies {
      classpath 'com.android.tools.build:gradle:2.3.3' 
  }
  </code></pre>