My ruby testing code