Added ruby code testing