Updated README and fixed bug in the test