Added test, code and docs for dailysummary.