/scoreboard players test <player><objective><min><max>
But the <max> value isn't required; if you don't specify any value, it will assume the biggest maximum, but not return errors. So the syntax should be:
/scoreboard players test <player><objective><min> [max]
Confirmed.
If <max> is omitted, LONG_MAX is assumedd.