Time is running out for legislation that would provide the Kentucky Horse Racing Authority with about $5 million a year and spare racetracks the cost of equine drug testing.