Costs of treating malaria according to test results