improved README and tests