Added tests and readme.txt