Added testSourcePath, test ouput handling, and test build target.