Add more tests.

Also add a little text to README and acknoledge authorship.