Local date test

add test case