fixed typos and errors to test and reader