minor fix
header cnhanges
fix order of comments
added comment
created seprate method for test execution and overriding
declared $debug