testing parsing with rails