Workaround safari bug

13 March 2011 is not handled properly in Safari. Detect bug and exit test early.

Fixes #1161.