testing total equation