Update some tests, and change the README file. Also fix some compiler warnings.