Added 'testing' material. Fixed wording, typos and code.