fix range test syntax