add pure testing