First, we were using the wrong space-filling format for %d and equivalent. Second, we weren't parsing numbers with optional leading spaces correctly. Yay tests!