Comply to spec on queries number for test type 3

Queries number must be between 1 and 500, as specified.