Fix/basic task execution test timesensitive

More fixing of BasicTaskExecution time-sensitive performance tests:
* Tweak one timeout value.
* Extract and convert performance tests to Java so no overhead/jitter caused by groovy code