fixed a couple things, add a test
added readme
added another test