added tests for datecreated
added tests for datecreated