diff --git a/src/test/java/com/aparapi/runtime/ProfileReportNewAPITest.java b/src/test/java/com/aparapi/runtime/ProfileReportNewAPITest.java
index cf8f7cf370657126bb29f29a3e57e3da14f9014c..35dabadea71f0f7b66bcfaffca5b241997a285fb 100644
--- a/src/test/java/com/aparapi/runtime/ProfileReportNewAPITest.java
+++ b/src/test/java/com/aparapi/runtime/ProfileReportNewAPITest.java
@@ -225,7 +225,6 @@ public class ProfileReportNewAPITest {
     }
 
     private class ThreadResults {
-    	private long startOfExecution;
     	private long runTime;
     	private long threadId;
     	private int kernelCalls;
@@ -248,7 +247,7 @@ public class ProfileReportNewAPITest {
 						int id = atomicResultId.getAndIncrement();
 						results[id].threadId = Thread.currentThread().getId();
 						observer.addAcceptedThreadId(results[id].threadId);
-						results[id].startOfExecution = System.currentTimeMillis();
+						long startOfExecution = System.currentTimeMillis();
 						results[id].kernelCalls = 0;
 						for (int i = 0; i < runs; i++) {
 							results[id].outputArray = Arrays.copyOf(inputArray, inputArray.length);
@@ -256,7 +255,7 @@ public class ProfileReportNewAPITest {
 		    				k.execute(Range.create(device, size, size));
 		    				results[id].kernelCalls++;
 						}
-						results[id].runTime = System.currentTimeMillis() - results[id].startOfExecution;
+						results[id].runTime = System.currentTimeMillis() - startOfExecution;
 						results[id].accumulatedExecutionTime = k.getAccumulatedExecutionTimeCurrentThread(device);
 					}
 				}));
diff --git a/src/test/java/com/aparapi/runtime/ProfileReportUnitTest.java b/src/test/java/com/aparapi/runtime/ProfileReportUnitTest.java
index f63c0facadea60e606655107b504d711479d1cf9..8e9a297ff38c485b6d1bed4b3aa3f10b898826f6 100644
--- a/src/test/java/com/aparapi/runtime/ProfileReportUnitTest.java
+++ b/src/test/java/com/aparapi/runtime/ProfileReportUnitTest.java
@@ -15,7 +15,11 @@
  */
 package com.aparapi.runtime;
 
-import static org.junit.Assert.*;
+import static org.junit.Assert.assertEquals;
+import static org.junit.Assert.assertFalse;
+import static org.junit.Assert.assertNotEquals;
+import static org.junit.Assert.assertNotNull;
+import static org.junit.Assert.assertTrue;
 
 import java.lang.ref.WeakReference;
 import java.util.Arrays;
@@ -27,7 +31,6 @@ import java.util.concurrent.TimeUnit;
 import java.util.concurrent.atomic.AtomicInteger;
 
 import org.junit.Test;
-import org.junit.runners.model.TestTimedOutException;
 
 import com.aparapi.IProfileReportObserver;
 import com.aparapi.Kernel;