implemented date value test