Refactored testexecutor

Refactored testexecutor, fix Jslint error in reportmanager