Convert branch testing script to ruby
Merge branch 'stateless-metadata'