parseint: tests for automatic base detection.