new test for javascript date convert