PrimeTable throws BadLimitException on limit <= 0.
Tests running and working for simple cases.