Legislation to eliminate emissions testing in Maryland would put the state in violation of federal law and at risk of losing tens of millions of dollars, WBAL-TV 11 News Investigates has learned.