add basic tests and a readme