Added test.rb

Pull request to master