modify README file and write a ruby test script.