Add test.rb
fixes #1