add test.rb
Merge branch 'master' of github.com:jinwen/ninja