Add tests, which also demonstrate how things are done, along with a readme file