Fix formatting of test_builtin_range
Enable ellipses and ignore_whitespace in doctests
Re-enable type inference test