Updated task, preprocessor to fix incorrect processing of source files.

Fixed incorrect function call that was resulting in bad output. Finalized unit
tests for processing module.