FORGE-1551: Fixed TestListener when execution returns a null result and
removed unneeded synchronization blocks