update README
add comment and refactoring test.rb