Fix tests
Not a functional change, just fixing a broken test, removing an unused variable in the code, and fixing typos in the readme.
Not a functional change, just fixing a broken test, removing an unused variable in the code, and fixing typos in the readme.