Minor updates to get tests working on ruby