Yes, that's true.  I thought a little about this and wasn't exactly sure the right way to do it so that's why I tested 499, 500, and 501.  I was certain if it was an off-by-one bug the test would catch it.  I was fairly certain that the datastore threw an error if you tried to fetch 0 entities.. guess I was wrong.