Change test to embedded Ruby