works on ruby tests