Fixed line lengths and typos. Added rake file for running tests.