Test for different ruby versions