update README and add test