title: gradle test runs my test class, but not a custom test task
body: <p>This is my test class:</p>
  
  <pre><code>public class RoutingResponseRegressionOneByOne {
  
  
      @BeforeClass
      public static void oneTimeSetUp() {
          routingClient = injector.getInstance(IRoutingClient.class);
          System.out.println("in RoutingResponseRegressionOneByOne:: oneTimeSetUp");
      }
  </code></pre>
  
  <p>I added a task to my build.gradle</p>
  
  <pre><code>task testRegression(type: Test) {
      systemProperties['test.single'] = '\'RoutingResponseRegressionOneByOne\''
      //systemProperty 'test.single', System.getProperty('test.single', '\'RoutingResponseRegressionOneByOne\'')
  }
  </code></pre>
  
  <p>When I run <code>"test"</code> from the intellij this is the output</p>
  
  <p>however when I <code>"testRegression"</code> from the intellij this is the output:</p>
  
  <p>what should I fix in order for <code>"testRegression"</code> to run only this test class ?</p>