Fixed date parsing and restored original test script