added fix for createdAt and created for group method, along with tests

@amillet89 @harrietgrace