fix handler test