Added tests and some readme

See README for how to invoke the test.