Format README and add test chapter.
Fix minor issues