Strptime improvement

This couple of patches improve the tests, and synchronize with Ruby MRI.