fixed dividend and tests
updated testcase to show put_xminute bug in some usercase.
fixed put_xminute when data are partial day data or cross multidays.