Convert branch testing script to ruby