test by ruby