improves README and adds test