added some code to test for extrinsic plagiarism; some basic testing