State to test water for chemicals from firefighting foam