Ruby studies and tests