get rid of unused sourceDirectory in AntlrTask

+review REVIEW-5237
minor cleanup on test coverage (potentical ci fix)

+review REVIEW-5241