A Senate committee passed a bill Tuesday that would make an exception to the statute to allow tools that test for the presence of certain substances.