added test for existence of created_at