corrected test date to be works on phantomjs