updated test to be more reliable

fixes MatthewMueller/date#42