add README and test code