flux and testing