Testing complete.Fixed bug for Java null pointer exception, included Thread sleep.