update test + readme, update c file to work with Ruby