(CDAP-600) Make Spark test runs faster

- Bundle jar created by TestBase shouldn’t include spark library jar
- The side effect of having sleep unit minute will cause the problem sleep for at least a minute. Changed to use second.