Add, test/cats.js; Update, README.md

* Added another test for beginning and ending
* Added usage-examples of beginning and ending to the README